package com.itheima.service;

import com.itheima.pojo.Empl;
import com.itheima.pojo.PageBean;
import org.apache.ibatis.annotations.Select;

import java.time.LocalDate;
import java.util.List;

public interface EmplService {
    PageBean select(Integer page, Integer pagesize);

    PageBean selectByChoice(Integer page, Integer pagesize, String name, Short gender, LocalDate begin, LocalDate end);

    void delete(List<Integer> ids);

    void insert(Empl empl);

    Empl selectById(Integer id);

    void update(Empl empl);

    Empl login(String username, String password);
}
